package com.pactera.integral.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


@Entity
@Table(name = "INT_SUMMARY_SCORE_HISTORY")
public class SummaryScoreHistory extends CommonEntity {
	 /**
     * @field serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name = "ID", unique = true, nullable = false)
    private String id;
    
    @Column(name = "USER_ID", length = 32, nullable = false)
    private String userId;
    
    @Column(name = "STAFF_ID", length = 32, nullable = false)
    private String staffId;
    
    @Column(name = "PERFORMANCE_SCORE", length = 5, nullable = false)
    private Integer performanceScore;
    
    @Column(name = "ADDITIONAL_SCORE", length = 5, nullable = false)
    private Integer additionalScore;
    
    @Column(name = "SCORE_TYPE", length = 10)
    private String scoreType;
    
    @Column(name = "YEAR")
    private Integer year;
    //YYYYMM
    @Column(name = "MONTH")
    private Integer month;
    
    @Column(name = "STATUS")
    private Integer status;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the performanceScore
	 */
	public int getPerformanceScore() {
		return performanceScore;
	}

	/**
	 * @param performanceScore the performanceScore to set
	 */
	public void setPerformanceScore(int performanceScore) {
		this.performanceScore = performanceScore;
	}

	/**
	 * @return the additionalScore
	 */
	public int getAdditionalScore() {
		return additionalScore;
	}

	/**
	 * @param additionalScore the additionalScore to set
	 */
	public void setAdditionalScore(int additionalScore) {
		this.additionalScore = additionalScore;
	}

	/**
	 * @return the scoreType
	 */
	public String getScoreType() {
		return scoreType;
	}

	/**
	 * @param scoreType the scoreType to set
	 */
	public void setScoreType(String scoreType) {
		this.scoreType = scoreType;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}
	
	public void setMonth(Integer month) {
		this.month = month;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
